<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <title>layui在线调试</title>
    <head th:include="include :: header"></head>
    <style>
        body{margin: 10px;}
        .demo-carousel{height: 200px; line-height: 200px; text-align: center;}
    </style>
</head>
<body>
<div class="container-fluid">
    <div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="layui-form layui-form-pane1" action="" lay-filter="first">
                        <input id="id" name="code" th:value="${country.code}"
                               class="form-control" type="hidden">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">name：</label>
                            <div class="col-sm-8">
                                <input id="name" name="name" th:value="${country.name}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">continent：</label>
                            <div class="col-sm-8">
                                <input id="continent" name="continent" th:value="${country.continent}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">region：</label>
                            <div class="col-sm-8">
                                <input id="region" name="region" th:value="${country.region}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">surfacearea：</label>
                            <div class="col-sm-8">
                                <input id="surfacearea" name="surfacearea"
                                       th:value="${country.surfacearea}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">indepyear：</label>
                            <div class="col-sm-8">
                                <input id="indepyear" name="indepyear" th:value="${country.indepyear}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group hidden">
                            <label class="col-sm-3 control-label ">population：</label>
                            <div class="col-sm-8">
                                <input id="population" name="population"
                                       th:value="${country.population}" class="form-control"
                                       type="text">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">gnpold：</label>
                            <div class="col-sm-8">
                                <input id="gnpold" name="gnpold"
                                       th:value="${country.gnpold}" class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
                                <button type="submit" lay-submit="" lay-filter="editContry" class="btn btn-primary">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" th:src="@{/appjs/country/edit.js}"></script>
</body>

</html>
